package org.news.web.domain.bo;

import org.news.web.domain.ApplyCreators;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import jakarta.validation.constraints.*;
import java.util.Date;

/**
 * 作者申请审核功能业务对象 apply_creators
 *
 * @author Gu Ci
 * @date 2024-03-31
 */
@Data
@AutoMapper(target = ApplyCreators.class, reverseConvertGenerate = false)
public class ApplyCreatorsBo {

    /**
     * 申请创作者id
     */
    @NotNull(message = "申请创作者id不能为空", groups = { EditGroup.class })
    private Long userCreatorsId;

    private String username;

    /**
     * 申请状态：待审核、已通过、已拒绝

     */
    private Long applicationStatus;

    /**
     * 申请信息：用户提交的申请信息
     */
//    @NotBlank(message = "申请信息：用户提交的申请信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String applicationInfo;


    /**
     * 打回理由
     */
    private Long DFInfo;

    /**
     * 用户id
     */
//    @NotNull(message = "用户不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long userId;



    private Date creationTime;


    private Date updateTime;


}
